# RUN: llvm-mc --disassemble %s -triple=x86_64-apple-darwin9 | FileCheck %s

# CHECK: tilerelease
0xc4,0xe2,0x78,0x49,0xc0

# CHECK: tilezero %tmm6
0xc4,0xe2,0x7b,0x49,0xf0

# CHECK: tilezero %tmm3
0xc4,0xe2,0x7b,0x49,0xd8

# CHECK: tilezero %tmm6
0xc4,0xe2,0x7b,0x49,0xf0

# CHECK: tilezero %tmm3
0xc4,0xe2,0x7b,0x49,0xd8

# CHECK: ldtilecfg  268435456(%rbp,%r14,8)
0xc4,0xa2,0x78,0x49,0x84,0xf5,0x00,0x00,0x00,0x10

# CHECK: ldtilecfg  291(%r8,%rax,4)
0xc4,0xc2,0x78,0x49,0x84,0x80,0x23,0x01,0x00,0x00

# CHECK: ldtilecfg  (%rip)
0xc4,0xe2,0x78,0x49,0x05,0x00,0x00,0x00,0x00

# CHECK: ldtilecfg  -2048(,%rbp,2)
0xc4,0xe2,0x78,0x49,0x04,0x6d,0x00,0xf8,0xff,0xff

# CHECK: sttilecfg  268435456(%rbp,%r14,8)
0xc4,0xa2,0x79,0x49,0x84,0xf5,0x00,0x00,0x00,0x10

# CHECK: sttilecfg  291(%r8,%rax,4)
0xc4,0xc2,0x79,0x49,0x84,0x80,0x23,0x01,0x00,0x00

# CHECK: sttilecfg  (%rip)
0xc4,0xe2,0x79,0x49,0x05,0x00,0x00,0x00,0x00

# CHECK: sttilecfg  -2048(,%rbp,2)
0xc4,0xe2,0x79,0x49,0x04,0x6d,0x00,0xf8,0xff,0xff

# CHECK: tileloadd 268435456(%rbp,%r14,8), %tmm6
0xc4,0xa2,0x7b,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tileloadd 291(%r8,%rax,4), %tmm3
0xc4,0xc2,0x7b,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tileloadd -32(,%rbp,2), %tmm3
0xc4,0xe2,0x7b,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tileloadd 64(%rbx), %tmm4
0xc4,0xe2,0x7b,0x4b,0x64,0x23,0x40

# CHECK: tileloaddt1 268435456(%rbp,%r14,8), %tmm6
0xc4,0xa2,0x79,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tileloaddt1 291(%r8,%rax,4), %tmm3
0xc4,0xc2,0x79,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tileloaddt1 -32(,%rbp,2), %tmm3
0xc4,0xe2,0x79,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tileloaddt1 16(%rbp), %tmm6
0xc4,0xe2,0x79,0x4b,0x74,0x25,0x10

# CHECK: tilerelease
0xc4,0xe2,0x78,0x49,0xc0

# CHECK: tilestored %tmm6, 268435456(%rbp,%r14,8)
0xc4,0xa2,0x7a,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tilestored %tmm3, 291(%r8,%rax,4)
0xc4,0xc2,0x7a,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tilestored %tmm3, -32(,%rbp,2)
0xc4,0xe2,0x7a,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tilezero %tmm6
0xc4,0xe2,0x7b,0x49,0xf0

# CHECK: tilezero %tmm3
0xc4,0xe2,0x7b,0x49,0xd8

# CHECK: ldtilecfg  268435456(%rbp,%r14,8)
0xc4,0xa2,0x78,0x49,0x84,0xf5,0x00,0x00,0x00,0x10

# CHECK: ldtilecfg  291(%r8,%rax,4)
0xc4,0xc2,0x78,0x49,0x84,0x80,0x23,0x01,0x00,0x00

# CHECK: ldtilecfg  (%rip)
0xc4,0xe2,0x78,0x49,0x05,0x00,0x00,0x00,0x00

# CHECK: ldtilecfg  -2048(,%rbp,2)
0xc4,0xe2,0x78,0x49,0x04,0x6d,0x00,0xf8,0xff,0xff

# CHECK: sttilecfg  268435456(%rbp,%r14,8)
0xc4,0xa2,0x79,0x49,0x84,0xf5,0x00,0x00,0x00,0x10

# CHECK: sttilecfg  291(%r8,%rax,4)
0xc4,0xc2,0x79,0x49,0x84,0x80,0x23,0x01,0x00,0x00

# CHECK: sttilecfg  (%rip)
0xc4,0xe2,0x79,0x49,0x05,0x00,0x00,0x00,0x00

# CHECK: sttilecfg  -2048(,%rbp,2)
0xc4,0xe2,0x79,0x49,0x04,0x6d,0x00,0xf8,0xff,0xff

# CHECK: tileloadd 268435456(%rbp,%r14,8), %tmm6
0xc4,0xa2,0x7b,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tileloadd 291(%r8,%rax,4), %tmm3
0xc4,0xc2,0x7b,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tileloadd -32(,%rbp,2), %tmm3
0xc4,0xe2,0x7b,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tileloaddt1 268435456(%rbp,%r14,8), %tmm6
0xc4,0xa2,0x79,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tileloaddt1 291(%r8,%rax,4), %tmm3
0xc4,0xc2,0x79,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tileloaddt1 -32(,%rbp,2), %tmm3
0xc4,0xe2,0x79,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tilerelease
0xc4,0xe2,0x78,0x49,0xc0

# CHECK: tilestored %tmm6, 268435456(%rbp,%r14,8)
0xc4,0xa2,0x7a,0x4b,0xb4,0xf5,0x00,0x00,0x00,0x10

# CHECK: tilestored %tmm3, 291(%r8,%rax,4)
0xc4,0xc2,0x7a,0x4b,0x9c,0x80,0x23,0x01,0x00,0x00

# CHECK: tilestored %tmm3, -32(,%rbp,2)
0xc4,0xe2,0x7a,0x4b,0x1c,0x6d,0xe0,0xff,0xff,0xff

# CHECK: tilestored %tmm3, (%r8)
0xc4,0xc2,0x7a,0x4b,0x1c,0x20

# CHECK: tilezero %tmm6
0xc4,0xe2,0x7b,0x49,0xf0

# CHECK: tilezero %tmm3
0xc4,0xe2,0x7b,0x49,0xd8
